<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>{if isset($SEO['title']) && !empty($SEO['title'])}{$SEO['title']}{/if}{$SEO['site_title']}</title>
<meta name="keywords" content="">
<meta name="description" content="">
<link rel="stylesheet" type="text/css" href="{THEME_STYLE_PATH}style/css/style.css">
<link rel="stylesheet" type="text/css" href="{THEME_STYLE_PATH}style/css/css.css">
<script type="text/javascript" src="{THEME_STYLE_PATH}style/js/jquery-1.8.0.min.js"></script>
<script src="{THEME_STYLE_PATH}style/js/jQuery-jcContact.js" type="text/javascript"></script>

 <script>

 var ajaxurl = "{U('Index/getArea')}";
  function loadArea(areaId,areaType) {

    $.post(ajaxurl,{'areaId':areaId},function(data){
    	if(areaType=='district'){
           $('#'+areaType).html('<option value="-1">--请选择--</option>');
        }
    	var region = eval(data);
        if(areaType!='null'){
            $.each(region,function(no,items){
                $('#'+areaType).append('<option value="'+items.linkageid+'">'+items.name+'</option>');
            });
        }
    });
}



 </script>


{include template("header","common")}

<!--我的订单 start-->
<div class="pad">
<div class="maim">
	
	<div class="personal_em">
		<div class="indentt">
			<h2>注册雪毅账号</h2>
			<div class="indent_right">
				如果您已拥有雪毅账号，则可 <a href="{U('Member/Index/login')}" class="plants">在此登录</a>
			</div>
			<div class="persona_right">
				<div class="portarits">
				  <form name="form1" method="post" action="{U('Member/Index/register')}">
				    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="rec_table">
				      <tr>
				        <td width="10%" align="right">账号：</td>
				        <td width="87%" height="80" align="left"><label for="textfield"></label>
			            <input type="text" name="username" id="textfield" class="rec_text2"></td>
				        <td width="3%">&nbsp;</td>
			          </tr>
				      <tr>
				        <td align="right">密码：</td>
				        <td height="80" align="left"><input type="password" name="password" id="textfield2" class="rec_text2">
				          <span class="grey">密码长度8~16位，数字、字母、字符至少包含两种</span></td>
				        <td>&nbsp;</td>
			          </tr>
				      <tr>
				        <td align="right">确认密码：</td>
				        <td height="80" align="left"><label for="select">
				          <input type="password" name="pwdconfirm" id="textfield9" class="rec_text2">
				        </label></td>
				        <td>&nbsp;</td>
			          </tr>
				      <tr>
				        <td align="right">姓名：</td>
				        <td height="80" align="left"><input type="text" name="nickname" id="textfield3" class="rec_text2">
		                <span class="grey">请填写真实姓名</span></td>
				        <td>&nbsp;</td>
			          </tr>
				      <tr>
				        <td align="right">手机：</td>
				        <td height="80" align="left"><input type="text" name="phone" id="textfield4" class="rec_text2"></td>
				        <td rowspan="6">&nbsp;</td>
			          </tr>
				      <tr>
				        <td align="right">E-MAIL：</td>
				        <td height="80" align="left"><input type="text" name="email" id="textfield7" class="rec_text2"></td>
			          </tr>
				      <tr>
				        <td align="right">邮编：</td>
				        <td height="80" align="left"><input type="text" name="code" id="textfield6" class="rec_text2"></td>
			          </tr>
				      <tr>
				        <td align="right">详细地址：</td>
				        <td height="80" align="left">
				          <select name="province" id="province" style="height:30px;"  onclick="loadArea(this.value, 'district')">
				          <option value="-1" selected>请选择</option>
				          {loop $region $v}
				          <option value="{$v[linkageid]}">{$v[name]}</option>
				          {/loop}

				          </select>
                          <select name="district" id="district" style="height:30px;"  onclick="loadArea(this.value, '')">
                            <option>请选择</option>
                          </select>


                         



                        <input type="text" name="address" id="textfield5" class="rec_text1"></td>
			          </tr>
				      <tr>
				        <td align="right">验证码：</td>
				        <td height="80" align="left"><table width="100%" border="0" cellspacing="0" cellpadding="0">
				          <tr>
				            <td width="18%" align="left" valign="top"><input type="text" name="verify" id="textfield8" class="rec_text3"></td>
				            <td width="14%" align="left" valign="top">
				            	
				            	<img src="{U('Api/Verify/create')}" width="111" height="52" id ="vCode_pic">

				            </td>
				            <td width="68%"><a onclick="verify();" class="plants" style="cursor:pointer" >换一个</a></td>
			              </tr>
			            </table></td>
			          </tr>
				      <tr>
				        <td align="right">&nbsp;</td>
				        <td height="60" align="left">
				        	
				        	<input type="submit" value="现在注册" class="rec_affims">

				        </td>
			          </tr>
				      <tr>
				        <td align="right">&nbsp;</td>
				        <td height="40">点击“现在注册”，即表示您同意并愿意遵守本网站的 <a href="#" class="plants">用户协议和隐私政策</a></td>
				        <td>&nbsp;</td>
			          </tr>
			        </table>
			      </form>
				  
					
				</div>
			</div>
		</div>
	</div>
</div>
</div>
<!--我的订单 end-->
{include template("footer","common")}
</body>
</html>
<script type="text/javascript">
		$('#vCode_pic').bind('click',function(){
		$(this).attr('src',$("#vCode_pic").attr('src') + '&t=' + Math.random());
	}); 

		function verify(){
			$('#vCode_pic').attr('src',$("#vCode_pic").attr('src') + '&t=' + Math.random());
		}
</script>
